package com.zhouyihe.weblog.web.convert;

import com.zhouyihe.weblog.common.domain.dos.BlogSettingsDO;
import com.zhouyihe.weblog.web.model.vo.blogsettings.FindBlogSettingsDetailRspVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @ClassName BlogSettingsConvert
 * @author: 周益和
 * @qq: 1552951165
 * @date: 2024/6/8
 * @description:
 */
@Mapper
public interface BlogSettingsConvert {
    /**
     * 初始化 convert 实例
     */
    BlogSettingsConvert INSTANCE = Mappers.getMapper(BlogSettingsConvert.class);
    
    /**
     * 将 DO 转化为 VO
     * @param bean
     * @return
     */
    FindBlogSettingsDetailRspVO convertDO2VO(BlogSettingsDO bean);
}
